import java.util.Scanner;

public class example14 {
    public static void main(String[] args) {
        int password = 123456;
        int input;
        do {
            System.out.println("请输入您的密码:");
            Scanner scanner = new Scanner(System.in);
            input = scanner.nextInt();
            if (input != password);
                 System.out.println("密码输入错误");
               } while (input != password);
        System.out.println("密码正确，你可以进行取款！");
    }
}

